package com.itheima79.googleplay.holder;

import com.itheima79.googleplay.R;
import com.itheima79.googleplay.global.GooglePlayApplication;

import android.view.View;
import android.widget.TextView;

public class CategoryTitleHolder extends BaseHolder<Object> {
	private TextView tv_title;
	@Override
	public View initHolderView() {
		View view = View.inflate(GooglePlayApplication.context, R.layout.adapter_category_title, null);
		tv_title = (TextView) view.findViewById(R.id.tv_title);
		return view;
	}
	@Override
	public void bindData(Object data) {
		tv_title.setText((String)data);
	}

}
